package jvm.class4;

public abstract class Human {
  abstract void out ();
  public static void main(String[] args) {
    C a = new C();
    F b = new F ();
    long current = System.currentTimeMillis();
    for (int i = 1; i <= 2_000_000_000; i++) {
      if (i % 100_000_000 == 0) {
        long temp = System.currentTimeMillis();
        System.out.println(temp - current);
        current = temp;
      }
      Human c = (i < 1_000_000_000) ? a : b;
      c. out ();
    }
  }
}